package com.fortune.vo.wechatProduct;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fortune.constants.enums.BackBox;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel("ProductInWechat")
public class Product {

	@ApiModelProperty(example = "分类名称")
	private String typeName;
	@ApiModelProperty(example = "商品id")
	private String id;
	@ApiModelProperty(example = "商品名称")
	private String name;
	@ApiModelProperty(example = "是否回空箱")
	private BackBox backBox;
	@ApiModelProperty(example = "厂商id")
	private String mid;
	@ApiModelProperty(example = "厂商简称")
	private String abbreviation;
	@ApiModelProperty(example = "商品编号")
	private String number;
	@ApiModelProperty(example = "优惠政策id")
	private String policyId;
	@ApiModelProperty(example = "满数量")
	private Integer achieveNum;
	@ApiModelProperty(example = "赠数量")
	private Integer giftNum;
	@ApiModelProperty(example = "商品规格")
	private String ms;
	@ApiModelProperty(example = "商品单位")
	private String mu;
	@ApiModelProperty(example = "商品市场零售价")
	private BigDecimal retailPrice;
	@ApiModelProperty(example = "商品数量")
	private int productNum = 0;

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BackBox getBackBox() {
		return backBox;
	}

	public void setBackBox(BackBox backBox) {
		this.backBox = backBox;
	}

	public String getMid() {
		return mid;
	}

	public void setMid(String mid) {
		this.mid = mid;
	}

	public String getAbbreviation() {
		return abbreviation;
	}

	public void setAbbreviation(String abbreviation) {
		this.abbreviation = abbreviation;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getPolicyId() {
		return policyId;
	}

	public void setPolicyId(String policyId) {
		this.policyId = policyId;
	}

	public Integer getAchieveNum() {
		return achieveNum;
	}

	public void setAchieveNum(Integer achieveNum) {
		this.achieveNum = achieveNum;
	}

	public Integer getGiftNum() {
		return giftNum;
	}

	public void setGiftNum(Integer giftNum) {
		this.giftNum = giftNum;
	}

	public String getMs() {
		return ms;
	}

	public void setMs(String ms) {
		this.ms = ms;
	}

	public String getMu() {
		return mu;
	}

	public void setMu(String mu) {
		this.mu = mu;
	}

	public BigDecimal getRetailPrice() {
		return retailPrice;
	}

	public void setRetailPrice(BigDecimal retailPrice) {
		this.retailPrice = retailPrice;
	}

	public int getProductNum() {
		return productNum;
	}

	public void setProductNum(int productNum) {
		this.productNum = productNum;
	}

	@Override
	public String toString() {
		return "Product{" +
				"typeName='" + typeName + '\'' +
				", id='" + id + '\'' +
				", name='" + name + '\'' +
				", backBox=" + backBox +
				", mid='" + mid + '\'' +
				", abbreviation='" + abbreviation + '\'' +
				", number='" + number + '\'' +
				", policyId='" + policyId + '\'' +
				", achieveNum=" + achieveNum +
				", giftNum=" + giftNum +
				", ms='" + ms + '\'' +
				", mu='" + mu + '\'' +
				", retailPrice=" + retailPrice +
				", productNum=" + productNum +
				'}';
	}
}
